package com.atguigu.gmall.product.mapper;

import com.atguigu.gmall.model.product.SpuSaleAttr;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface SpuSaleAttrMapper extends BaseMapper<SpuSaleAttr> {
    //查询详细销售属性
    List<SpuSaleAttr> spuSaleAttrList(Long spuId);

    //查询库存销售参数
    List<SpuSaleAttr> getSpuSaleAttrListCheckBySku(Long skuId);
}
